<?php $method = $this->getNameMethod; ?>
<table cellspacing="0" cellpadding="10">
  <tbody>
    <tr>
      <td style="border: 1px solid black;">
        <?php echo($this->carDamage->getCreated('Y-m-d')); ?> 
      </td>
      <td style="border: 1px solid black;">
        <?php echo($this->carDamage->getDictPerpetrators()->getName()); ?> 
      </td>
      <td style="border: 1px solid black;">
        <?php echo($this->carDamage->getCarData()->getVin()); ?> 
      </td>
      <td style="border: 1px solid black;">
        <?php foreach ($this->carDamage->getDamagess() as  $damage) { ?>
        <span><?php echo($damage->getDictDamageSpots()->$method()); ?> </span>
        <span><?php echo($damage->getDictDamageTypes()->$method()); ?> </span>
        <span><?php echo($damage->getDictDamageScale()->$method()); ?> </span>
        <br/>
        <?php } ?>
      </td>
      <td style="border: 1px solid black;">
        <span><?php echo($this->estimatedBudget->getValue()); ?> PLN</span>
      </td>
    </tr>
  </tbody>
</table>